#!/bin/bash
CURRENT_DIR=`dirname "${BASH_SOURCE-$0}"`
CURRENT_DIR_HOME=`cd "$CURRENT_DIR">/dev/null;cd .; pwd`
docker run --name redis-sentinel-16380 -d -p 16380:16380 -v $CURRENT_DIR_HOME/redis-sentinel-16380.conf:/etc/redis/redis-sentinel.conf  redis redis-server /etc/redis/redis-sentinel.conf --sentinel
docker run --name redis-sentinel-26380 -d -p 26380:12380 -v $CURRENT_DIR_HOME/redis-sentinel-26380.conf:/etc/redis/redis-sentinel.conf  redis redis-server /etc/redis/redis-sentinel.conf --sentinel
docker run --name redis-sentinel-36380 -d -p 36380:33380 -v $CURRENT_DIR_HOME/redis-sentinel-36380.conf:/etc/redis/redis-sentinel.conf  redis redis-server /etc/redis/redis-sentinel.conf --sentinel
